import request from "@/utils/request";
/*global uni*/
const files = require.context("@/api/modules", false, /\.js$/);
let modules = {};
files.keys().forEach(key => {
  // @ts-ignore
  modules[key.slice(2, key.length - 3)] = files(key).default;
});
Object.assign(modules, {
  fly: request
});
export default modules;
